package com.rxt.thermopro.ui.fragment

import android.os.Bundle
import com.app.common.base.BaseFragment
import com.app.common.viewmodel.BaseViewModel
import com.rxt.thermopro.R
import kotlinx.android.synthetic.main.fragment_faqs_web.*

class FAQSFragment : BaseFragment<BaseViewModel>() {

    companion object {
        fun newInstance(): FAQSFragment {
            return FAQSFragment()
        }
    }

    override fun layoutId(): Int {
        return R.layout.fragment_faqs_web
    }

    override fun initView(savedInstanceState: Bundle?) {
        webView.loadUrl("file:///android_asset/faqs.html")
        viewBack.setOnClickListener {
            requireActivity().onBackPressed()
        }
    }
}